package com.niodata.dp.task.az;

public class FlowExecuteOptions {

  private String[] disabled = new String[]{};
  private String[] successEmails = new String[]{};
  private String[] failureEmails = new String[]{};
  private boolean successEmailsOverride = true;
  private boolean failureEmailsOverride = true;
  private boolean notifyFailureLast = true;
  //finishCurrent, cancelImmediately, finishPossible
  private String failureAction = "cancelImmediately";
  private String concurrentOption = "ignore";

  //2017-9-28 add dynamic config id
  private String configId;


  public String[] getDisabled() {
    return disabled;
  }

  public void setDisabled(String[] disabled) {
    this.disabled = disabled;
  }

  public String[] getSuccessEmails() {
    return successEmails;
  }

  public void setSuccessEmails(String[] successEmails) {
    this.successEmails = successEmails;
  }

  public String[] getFailureEmails() {
    return failureEmails;
  }

  public void setFailureEmails(String[] failureEmails) {
    this.failureEmails = failureEmails;
  }

  public boolean isSuccessEmailsOverride() {
    return successEmailsOverride;
  }

  public void setSuccessEmailsOverride(boolean successEmailsOverride) {
    this.successEmailsOverride = successEmailsOverride;
  }

  public boolean isFailureEmailsOverride() {
    return failureEmailsOverride;
  }

  public void setFailureEmailsOverride(boolean failureEmailsOverride) {
    this.failureEmailsOverride = failureEmailsOverride;
  }

  public boolean isNotifyFailureLast() {
    return notifyFailureLast;
  }

  public void setNotifyFailureLast(boolean notifyFailureLast) {
    this.notifyFailureLast = notifyFailureLast;
  }

  public String getFailureAction() {
    return failureAction;
  }

  public void setFailureAction(String failureAction) {
    this.failureAction = failureAction;
  }

  public String getConcurrentOption() {
    return concurrentOption;
  }

  public void setConcurrentOption(String concurrentOption) {
    this.concurrentOption = concurrentOption;
  }

  public String getConfigId() {
    return configId;
  }

  public void setConfigId(String configId) {
    this.configId = configId;
  }
}
